import ApiBase from "./ApiBase";
const apiBase = new ApiBase("user")

export function login(params){
    return apiBase.post('login',params)
}
export function userList(params){
    return apiBase.post('list',params)
}
export function userAdd(params){
    return apiBase.post('insert',params)
}
export function userEdit(params){
    return apiBase.post('update',params)
}
export function userDel(params){
    return apiBase.post('deleteById',params)
}
